package xcmg.device.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created by GYJ on 2018-01-16.
 */
@Mapper
public interface GenDocumentMapper {

    int nextSeq();

    int deliveryNextSeq();

    int purchaseNextSeq();

    int directPurchaseNextSeq();

    int purchaseFactNextSeq();

    String getZBCKNextCode(@Param("desc") String desc);

    String getZBDNextCode(@Param("desc") String desc);

    String getOutputNextCode(@Param("desc") String desc);

    String getNextCode(@Param("desc") String desc);


}
